package com.ruoyi.biz.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 费用对象 biz_fee
 * 
 * @author ruoyi
 * @date 2021-11-15
 */
public class BizFee extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long feeId;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 充值 */
    @Excel(name = "充值")
    private BigDecimal moneyAdd;

    /** 花费 */
    @Excel(name = "花费")
    private BigDecimal moneySpend;

    /** 周期 */
    @Excel(name = "周期")
    private String cycleDate;

    public void setFeeId(Long feeId) 
    {
        this.feeId = feeId;
    }

    public Long getFeeId() 
    {
        return feeId;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setMoneyAdd(BigDecimal moneyAdd) 
    {
        this.moneyAdd = moneyAdd;
    }

    public BigDecimal getMoneyAdd() 
    {
        return moneyAdd;
    }
    public void setMoneySpend(BigDecimal moneySpend) 
    {
        this.moneySpend = moneySpend;
    }

    public BigDecimal getMoneySpend() 
    {
        return moneySpend;
    }
    public void setCycleDate(String cycleDate) 
    {
        this.cycleDate = cycleDate;
    }

    public String getCycleDate() 
    {
        return cycleDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("feeId", getFeeId())
            .append("type", getType())
            .append("moneyAdd", getMoneyAdd())
            .append("moneySpend", getMoneySpend())
            .append("cycleDate", getCycleDate())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
